package com.xuhai.blog19.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xuhai.blog19.admin.entity.CategoryEntity;

import java.util.List;

/**
 * @Author PangJunjie
 * @Date 2023/2/8/008
 */
public interface CategoryService extends IService<CategoryEntity> {
    IPage<CategoryEntity> getPage(int page, int limit, CategoryEntity category);

    List<CategoryEntity> getSelect();

    void delete(int categoryId);

    int getCount(Integer status);

    List<CategoryEntity> getCategoryArticleCount();
}
